﻿{% extends "base.html" %}

{% block scripts %}
{% endblock %}

{% block content %}
<h1>Редактировать предложение</h1>

<div class="edit_oreders">
    <form class="form_2 " action="" method="post">
        <h2 class="block_header">
        <label for="id_text">Текст предложения</label>
        </h2>
        {% if form.text.errors %}
            <dt><p class="error_message">{{ form.text.errors|striptags }}</p></dt>
        {% endif %}
        <textarea id="id_text" name="text" cols="80" rows="5">{% if offer %}{{ offer.text }}{% endif %}</textarea>
        <div class="buttons"><input class="button" type="submit" value="Сохранить"></div>
    </form>

</div>
{% endblock %}
